<rss version="2.0">
    <? echo $rss->channel(null,array('title'=>__('Rss feed',true),'description'=>__('Rss feed for articles',true).' '.Configure::read('Page.url'))); ?>
    <?
    foreach ($articles as $article) {
        echo $rss->item(null,array('title'=>$article['Article']['title'],'author'=>$article['User']['email'].' ('.$article['User']['name'].')','pubDate'=>$article['Article']['created'],'description'=>$article['Article']['intro_text'],'guid'=>'/articles/'.$time->format('Y/m/d',$article['Article']['created']).'/'.$article['Article']['seo_link']));
    }
    ?>
</channel>
</rss>